#ifndef __CTIIC_H__
#define __CTIIC_H__

#include <stdint.h>
#include "stm32f4xx_hal.h"

#ifdef __cplusplus
extern "C" {
#endif

void CT_IIC_Init(void);
void CT_IIC_Start(void);
void CT_IIC_Stop(void);
void CT_IIC_Send_Byte(uint8_t txd);
uint8_t CT_IIC_Wait_Ack(void);
uint8_t CT_IIC_Read_Byte(uint8_t ack);

#ifdef __cplusplus
}
#endif

#endif /* __CTIIC_H__ */
